#include<stdio.h>
int main(int arg, char *arr[])
{
FILE *fs,*ft;
char ch;
if(arg < 2) {
    fs = fopen(arr[1],"r");
    ft = fopen(arr[2],"w");

    while(1)
    {
       ch = getc(fs);
       if(ch==EOF)
       {
          break;
       }
       else
          putc(ch,ft);
    }
    printf("\nsuccess! \n\n");
    fclose(fs);
    fclose(ft);
} else {
   printf("Input Error !! \n\n");
}
}
